<!--render函数组件-->
<script>
export default {
  props: {
    row: Object,
    render: Function,
    index: Number
  },
  setup(props) {
    return () => props.render && props.render(props.row, props.index)
  }
}
</script>